Python for Beginners: An Introduction to Learn Python Programming with Tutorials and Hands-On Examples by Nathan Metzler

Python for Beginners: An Introduction to Learn Python Programming with Tutorials and Hands-On Examples by Nathan Metzler

Author:Nathan Metzler [Metzler, Nathan]
Language: eng
Format: azw3
Published: 2017-10-25T04:00:00+00:00


6.1 Decision Making

Decision making deals with executing certain code block based on certain conditions. A condition is nothing but an expression that evaluates to True or False. All non-zero and non-null values are assumed as True and all zero and null values are assumed as false. These structures indicate a code block and hence all the statements under them should come at a tab space indent. Things will be clearer once you take a look at the example; for now, let us look at the different decision making options available.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.